import React from 'react';
import './ItemS.less'

export default function ItemS(props) {
  const data = props.data
  return (
    <div className='ItemS'>
      <a href={data.coupon_click_url || data.item_url} target='_blank'>
        <img src={data.pict_url} alt="" />
        <p className='price'>
          <span className='reserve-price'>{'￥' + data.reserve_price}</span>
          <span>券后价：{data.zk_final_price}</span>
        </p>
        <p className='sum'>{data.volume} · 已购买</p>
        <h3 className='title'>{data.title}</h3>
      </a>
    </div>
  )
}